import request from "@/common/request"

//题目分页展示
export const studyquestionPage = queryForm => {
	return request("get", "/study/exam/studyQuestion/page", queryForm)
}
//题目列表展示
export const studyquestionList = queryForm => {
	return request("get", "/study/exam/studyQuestion/list", queryForm)
}
//题目详情
export const studyquestionInfo = id => {
	return request("get", "/study/exam/studyQuestion/info", {
		id: id,
	})
}
//题目信息保存
export const studyquestionSave = data => {
	return request("post", "/study/exam/studyQuestion/save", data)
}
//题目信息修改
export const studyquestionEdit = data => {
	return request("post", "/study/exam/studyQuestion/edit", data)
}
//题目信息删除
export const studyquestionDel = id => {
	return request("post", "/study/exam/studyQuestion/delete?id=" + id)
}
//题目批量删除
export const studyquestionDelBatch = ids => {
	return request("post", "/study/exam/studyQuestion/deleteBatch", ids)
}
//题目动态表头导出
export const studyquestionDynamicExport = data => {
	return request("eptpost", "/study/exam/studyQuestion/exportDynamic", data)
}
// 题目题库导入
export const studyquestionDynamicImport = data => {
	return request("post", "/study/exam/studyQuestion/importQuestions", data)
}
